package com.srs.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Warehouse entity. @author MyEclipse Persistence Tools
 */

public class Warehouse implements java.io.Serializable {

	// Fields

	private Integer warehouseId;
	private String warehouseName;
	private String warehouseAddress;
	private Set storageareases = new HashSet(0);

	// Constructors

	/** default constructor */
	public Warehouse() {
	}

	/** minimal constructor */
	public Warehouse(String warehouseName, String warehouseAddress) {
		this.warehouseName = warehouseName;
		this.warehouseAddress = warehouseAddress;
	}

	/** full constructor */
	public Warehouse(String warehouseName, String warehouseAddress,
			Set storageareases) {
		this.warehouseName = warehouseName;
		this.warehouseAddress = warehouseAddress;
		this.storageareases = storageareases;
	}

	// Property accessors

	public Integer getWarehouseId() {
		return this.warehouseId;
	}

	public void setWarehouseId(Integer warehouseId) {
		this.warehouseId = warehouseId;
	}

	public String getWarehouseName() {
		return this.warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public String getWarehouseAddress() {
		return this.warehouseAddress;
	}

	public void setWarehouseAddress(String warehouseAddress) {
		this.warehouseAddress = warehouseAddress;
	}

	public Set getStorageareases() {
		return this.storageareases;
	}

	public void setStorageareases(Set storageareases) {
		this.storageareases = storageareases;
	}

}